package public

import (
	v1 "gitcode.com/G-YT/iHealth25/server/api/v1"
	"github.com/gin-gonic/gin"
)

type OnlineServiceRouter struct {
}

// InitOnlineServiceRouter 初始化 在线客服路由信息
func (o *OnlineServiceRouter) InitOnlineServiceRouter(Router *gin.RouterGroup) {
	onlineServiceRouter := Router.Group("Question")
	var onlineServiceApi = v1.ApiGroupApp.PublicApiGroup.OnlineServiceApi
	{
		onlineServiceRouter.POST("getQuestionnaire", onlineServiceApi.GetQuestionnaire)       // 获取问题
		onlineServiceRouter.POST("submitQuestionnaire", onlineServiceApi.SubmitQuestionnaire) // 提交回答
	}
}
